import { sendMyHttpRequest } from "@/net-http/config";

interface User {
  name: string;
  phone: string;
}

export const ApiTest = {
  login: (data: any) =>
    sendMyHttpRequest<User>({
      needCache: true,
      url: "pub/hospital/agreementContent",
      data,
      method: "POST",
    }),
};
